import anime, { AnimeTimelineInstance } from "animejs";
import React, { useEffect } from "react";

let timeline: AnimeTimelineInstance = null;

const Toaster = ({ status }: { status: "loading" | "error" }) => {
  useEffect(() => {
    if (timeline) {
      timeline.pause();
    }

    timeline = anime.timeline({
      loop: true,
      easing: "easeInOutBack",
      autoplay: false,
    });

    timeline.add({
      targets: "#toaster-knob, #toaster-knob-content",
      translateY: 600,
      duration: 3000,
    });

    timeline.add(
      {
        targets:
          "#toaster-paper-1-container, #toaster-paper-2-container, #toaster-paper-3-container",
        translateY: 1400,
        duration: 2000,
        delay: anime.stagger(100),
      },
      "-=2500",
    );

    timeline.add({
      targets: "#toaster-knob, #toaster-knob-content",
      translateY: 0,
      duration: 3000,
    });

    timeline.add(
      {
        targets:
          "#toaster-paper-1-container, #toaster-paper-2-container, #toaster-paper-3-container",
        translateY: 1000,
        duration: 2000,
        delay: anime.stagger(100),
      },
      "-=2200",
    );

    if (status === "loading") {
      timeline.play();
    }
  }, [status]);
  return (
    <div style={{ width: "13rem", height: "13rem", marginTop: "-25%" }}>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        xmlnsXlink="http://www.w3.org/1999/xlink"
        fill="none"
        viewBox="0 0 4104 5011"
        style={{ width: "100%", height: "100%" }}
      >
        <path
          stroke="#CF0000"
          strokeLinecap="round"
          strokeLinejoin="round"
          strokeWidth="54"
          d="M3370 3047.5v1402"
        />
        <path
          fill="#D9D9D9"
          stroke="#000"
          strokeLinecap="round"
          strokeLinejoin="round"
          strokeWidth="30"
          d="m4003.5 4466.5-1386.5 444L1249 3430 312 2101l1489.93-405.38a196.94 196.94 0 0 1 120.39 5.44l1677.94 623.98c242.42 90.16 403.24 321.54 403.24 580.18V4466.5Z"
        />
        <path
          fill="url(#a)"
          stroke="#000"
          strokeLinecap="round"
          strokeLinejoin="round"
          strokeWidth="30"
          d="m2619 4910.5-2519-896V2406.6c0-224.3 221.84-381.18 433.32-306.41l1684.99 595.66c240.14 84.89 400.69 311.94 400.69 566.64V4910.5Z"
        />
        <path
          fill="#000"
          d="m3100.93 4337.9-94.29-61.25a98.14 98.14 0 0 0-76.91-12.99l-2.25.56a193.43 193.43 0 0 0-146.91 198.17 58.06 58.06 0 0 0 22.54 42.87l112.91 86.95a110.1 110.1 0 0 0 89.56 20.42c88.99-18.62 151.15-100.23 144.75-190.92a109.1 109.1 0 0 0-49.4-83.81Z"
        />
        <ellipse
          cx="3014.73"
          cy="4468.49"
          fill="#fff"
          rx="90.37"
          ry="117.55"
          transform="rotate(34 3014.73 4468.49)"
        />
        <path
          fill="#000"
          d="m3705.25 4249.54-53.68-34.86a55.85 55.85 0 0 0-43.78-7.4l-1.28.32a110.12 110.12 0 0 0-83.63 112.82 33.06 33.06 0 0 0 12.83 24.4l64.28 49.5a62.68 62.68 0 0 0 50.98 11.62c50.66-10.6 86.04-57.06 82.4-108.68a62.11 62.11 0 0 0-28.12-47.72Z"
        />
        <ellipse
          cx="3656.18"
          cy="4323.88"
          fill="#fff"
          rx="51.45"
          ry="66.91"
          transform="rotate(34 3656.18 4323.88)"
        />
        <path
          fill="#000"
          d="m3913.71 4208.12-49.85-32.38a51.86 51.86 0 0 0-40.66-6.87l-1.19.3a102.25 102.25 0 0 0-77.67 104.76 30.67 30.67 0 0 0 11.92 22.67l59.69 45.97a58.2 58.2 0 0 0 47.35 10.79c47.04-9.84 79.91-52.99 76.52-100.93a57.66 57.66 0 0 0-26.11-44.31Z"
        />
        <ellipse
          cx="3868.14"
          cy="4277.16"
          fill="#fff"
          rx="47.78"
          ry="62.14"
          transform="rotate(34 3868.14 4277.16)"
        />
        <path
          fill="red"
          d="M2621.42 2694.37 936.2 2065.1c-8.74-3.27-8.65-15.67.14-18.79l227.76-81.03a170.98 170.98 0 0 1 116.55.69l1677.73 619.58a6 6 0 0 1-.2 11.32l-298.33 98.26a57.98 57.98 0 0 1-38.43-.76Z"
        />
        <path
          fill="#000"
          d="M2621.42 2694.37 936.2 2065.1c-8.74-3.27-8.65-15.67.14-18.79l227.76-81.03a170.98 170.98 0 0 1 116.55.69l1677.73 619.58a6 6 0 0 1-.2 11.32l-298.33 98.26a57.98 57.98 0 0 1-38.43-.76Z"
        />
        <path
          fill="#fff"
          fillRule="evenodd"
          d="M1158.47 1986.87a186.99 186.99 0 0 1 126.97 1.07L2931.5 2595.5l-37.5 11-1619.68-588.56a154.99 154.99 0 0 0-105.24-.88L1008 2070l-47.5-16.5 197.97-66.63Z"
          clipRule="evenodd"
        />
        <path
          fill="#000"
          d="m3172.55 2531.61-1696.13-633.35a6 6 0 0 1 .09-11.28l237.5-84.49a170.99 170.99 0 0 1 117.58 1.08l1669.45 628.73c5.35 2.02 5.11 9.68-.36 11.35l-290.85 89.08a58 58 0 0 1-37.28-1.12Z"
        />
        <path
          fill="#fff"
          fillRule="evenodd"
          d="M1712.41 1830.54a187.04 187.04 0 0 1 126.97 1.06L3483.5 2438l-40 11.5-1615.24-587.89a154.99 154.99 0 0 0-105.24-.88l-168.52 51.77-43.5-15.5 201.41-66.46Z"
          clipRule="evenodd"
        />
        <path
          fill="#000"
          fillRule="evenodd"
          d="M3439 2986.5V4387l-51 21.5V3008l51-21.5Z"
          clipRule="evenodd"
        />
        <path
          fill="#000"
          id="toaster-knob"
          d="M3101 3542.5V3352l471-145.5 102 54.5v198l-473 144-100-60.5Z"
        />
        <path
          fill="#fff"
          d="M3233 3539v-118l380-113.5V3424l-380 115Z"
          id="toaster-knob-content"
        />
        {status !== "error" && (
          <g id="toaster-paper-3" clipPath="url(#toaster-clip-3)">
            <g
              id="toaster-paper-3-container"
              style={{ transform: "translateY(1000px)" }}
            >
              <path
                fill="#fff"
                stroke="#000"
                strokeWidth="30"
                d="m3220.56 2526.04-1415.18-515.08-18.41-1054.56c-.34-19.4 14.23-29.7 32.46-22.96l1125.74 416.35 55.29 218.68c5.97 23.63 21.91 46.32 42.19 60.07l164.18 111.3 13.73 786.2Z"
              />
              <path
                fill="#fff"
                stroke="#000"
                strokeLinecap="square"
                strokeLinejoin="bevel"
                strokeWidth="30"
                d="m3211.09 1742.7-267.93-398.05 5.28 302.46 262.65 95.59Z"
              />
              <path
                fill="#000"
                id="toaster-paper-3-content"
                d="m1933.1 1859.12-.2-11.62 10.92 3.98-.4-23.25 10.92 3.97-.2-11.62-10.93-3.97-.4-23.25-10.93-3.98-.2-11.62 21.85 7.95.2 11.62 10.93 3.98.4 23.25 10.93 3.97.2 11.63-10.93-3.98.41 23.25-10.92-3.98.2 11.62-21.85-7.95Zm1067.19 197.18 10.92 3.97.2 11.63-10.92-3.98.61 34.87-21.85-7.95-1.01-58.12 21.84 7.95.21 11.63Zm43.49 4.28.2 11.62-32.77-11.93-.2-11.62 32.77 11.93Zm-151.92 2.45-.2-11.62-10.93-3.98-.61-34.87 10.93 3.98-.21-11.63 54.62 19.88.21 11.63 10.92 3.97.41 23.25-54.62-19.88.2 11.62 43.7 15.91.2 11.62-54.62-19.88Zm10.31-30.89 32.78 11.92-.21-11.62-32.77-11.93.2 11.63Zm-97.7-.92-.21-11.62-10.92-3.98-1.22-69.74 21.85 7.96.41 23.24 43.69 15.91.21 11.62 10.92 3.98.61 34.87-10.93-3.98.21 11.62-54.62-19.88Zm10.72-7.64 32.77 11.92-.61-34.87-32.77-11.92.61 34.87Zm-109.04-28.14-1.01-58.12 65.54 23.86.2 11.62 10.93 3.98.81 46.49-21.85-7.95-.81-46.49-10.92-3.98.81 46.49-21.85-7.95-.81-46.49-10.93-3.98.82 46.5-10.93-3.98Zm-76.47-27.83-.2-11.63-10.92-3.97-.81-46.5 21.84 7.96.82 46.49 32.77 11.93-.81-46.5 21.84 7.96 1.02 58.11-65.55-23.85Zm-98.31-35.79-1.02-58.11 65.55 23.85.2 11.63 10.92 3.97.82 46.5-21.85-7.96-.81-46.49-32.77-11.93.81 46.5-21.85-7.96Zm-153.75-102.15-.4-23.25 21.84 7.95.41 23.25-21.85-7.95Zm.61 34.87-.4-23.25 21.84 7.95.41 23.25-21.85-7.95Zm-109.04-28.14-.2-11.62 10.93 3.97-.21-11.62 10.93 3.97-.21-11.62 10.93 3.98-.21-11.63-32.77-11.92-.2-11.63 76.47 27.84.2 11.62-10.92-3.98.2 11.63-10.92-3.98.2 11.62-10.93-3.97.21 11.62 32.77 11.93.2 11.62-76.47-27.83Zm-76.46-27.83-.21-11.63-10.92-3.97-.2-11.62 10.92 3.97-.2-11.62 43.69 15.9-.2-11.62-43.69-15.91-.21-11.62 54.62 19.88.21 11.62 10.92 3.98.81 46.49-65.54-23.85Zm10.72-7.65 32.77 11.93-.2-11.62-32.77-11.93.2 11.62Zm-98.11-24.16-.21-11.62-10.92-3.98-1.22-69.74 21.85 7.95.41 23.25 43.69 15.9.2 11.63 10.93 3.97.61 34.87-10.93-3.97.21 11.62-54.62-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87Zm948.24 223.18-.21-11.62 10.93 3.98-.41-23.25 21.85 7.95.41 23.25-10.93-3.98.2 11.62-21.84-7.95Zm-87.4-31.81-.2-11.62 43.7 15.9-.21-11.62-43.69-15.9-.2-11.63-10.93-3.97-.4-23.25 10.92 3.98-.2-11.63 65.54 23.86 1.02 58.12-10.93-3.98.2 11.62-54.62-19.88Zm10.32-30.89 32.77 11.93-.4-23.25-32.78-11.93.41 23.25Zm-108.83-16.51-1.02-58.12 65.55 23.86.2 11.62 10.92 3.98.81 46.49-21.84-7.95-.82-46.5-32.77-11.92.81 46.49-21.84-7.95Zm-55.84-89.62-.2-11.63 21.84 7.96.21 11.62-21.85-7.95Zm-20.63 61.79-.2-11.63 21.84 7.95-.6-34.87-10.93-3.97-.2-11.62 32.77 11.92.81 46.5 21.85 7.95.2 11.62-65.54-23.85Zm-66.36-70.35 10.93 3.97.2 11.63-10.92-3.98.61 34.87-21.85-7.95-1.02-58.12 21.85 7.95.2 11.63Zm43.5 4.28.2 11.62-32.77-11.93-.21-11.62 32.78 11.93Zm-130.08 10.4-.81-46.49-21.85-7.95-.2-11.63 21.85 7.96-.41-23.25 21.85 7.95.41 23.25 21.85 7.95.2 11.62-21.85-7.95.81 46.49-21.85-7.95Zm-120.16-43.73-.2-11.63 54.62 19.88-.21-11.62-43.69-15.9-.2-11.63-10.93-3.97-.2-11.63 10.92 3.98-.2-11.62 54.62 19.88.2 11.62-43.69-15.91.2 11.63 43.7 15.9.2 11.63 10.92 3.97.21 11.62-10.93-3.97.2 11.62-65.54-23.85Zm-153.75-102.16-.4-23.25 21.85 7.95.4 23.25-21.85-7.95Zm.61 34.87-.4-23.25 21.85 7.95.4 23.25-21.85-7.95Zm-77.07-62.7 10.92 3.97.2 11.63-10.92-3.98.61 34.87-21.85-7.95-1.01-58.12 21.84 7.95.21 11.63Zm43.49 4.28.2 11.62-32.77-11.93-.2-11.62 32.77 11.93Zm-151.92 2.45-.2-11.62-10.93-3.98-.2-11.62 10.92 3.97-.2-11.62 43.7 15.9-.21-11.62-43.69-15.9-.21-11.63 54.62 19.88.21 11.63 10.92 3.97.81 46.5-65.54-23.86Zm10.72-7.65 32.77 11.93-.2-11.62-32.77-11.93.2 11.62Zm-98.11-24.16-.21-11.62-10.92-3.98-1.22-69.74 21.85 7.96.41 23.24 43.69 15.91.21 11.62 10.92 3.97.61 34.87-10.93-3.97.21 11.62-54.62-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.92.61 34.86ZM2919.53 1783l-.2-11.62-10.92-3.98-.41-23.24-10.92-3.98-.21-11.62 10.93 3.97-.41-23.24 10.93 3.97-.21-11.62 21.85 7.95.2 11.63-10.92-3.98.41 23.25-10.93-3.98.21 11.62 10.92 3.98.41 23.25 10.92 3.97.2 11.63-21.85-7.96Zm-219.29-126.01-.2-11.62 76.47 27.83.2 11.62-76.47-27.83Zm.41 23.25-.2-11.63 76.46 27.84.21 11.62-76.47-27.83Zm-163.45-36.4-.21-11.62-10.92-3.98-.61-34.86 10.93 3.97-.21-11.62 54.62 19.88.2 11.62 10.93 3.98.61 34.87-10.93-3.98.21 11.62-54.62-19.88Zm10.72-7.64 32.77 11.92-.61-34.86-32.77-11.93.61 34.87Zm-98.11-24.16-.21-11.63-10.92-3.97-.61-34.87 10.92 3.97-.2-11.62 54.62 19.88.2 11.62 10.93 3.98.61 34.87-10.93-3.98.2 11.63-54.61-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87Zm-109.04-28.14-1.42-81.36 76.47 27.83.2 11.62-54.62-19.88.41 23.25 43.69 15.91.2 11.62-43.69-15.91.61 34.87-21.85-7.95Zm-163.86-59.64-.2-11.62-10.93-3.98-.6-34.87 10.92 3.98-.2-11.62 54.62 19.88.2 11.62 10.92 3.98.41 23.24-54.62-19.88.2 11.63 43.7 15.9.2 11.62-54.62-19.88Zm10.32-30.89 32.77 11.93-.2-11.63-32.78-11.92.21 11.62Zm-108.43 6.73-1.22-69.74 65.54 23.86.21 11.62 10.92 3.98.41 23.24-10.93-3.97.21 11.62-43.7-15.9.41 23.24-21.85-7.95Zm21.24-26.92 32.77 11.93-.41-23.24-32.77-11.93.41 23.24Zm-97.71-.91-.2-11.62 43.69 15.9-.2-11.62-43.69-15.91-.21-11.62-10.92-3.98-.61-34.87 21.85 7.96.61 34.87 32.77 11.92-.61-34.87 21.85 7.96 1.01 58.11-10.92-3.97.2 11.62-54.62-19.88Zm-65.75-35.48-.81-46.49-21.84-7.95-.21-11.63 21.85 7.95-.41-23.24 21.85 7.95.41 23.25 21.85 7.95.2 11.62-21.85-7.95.81 46.49-21.85-7.95Z"
              />
            </g>
          </g>
        )}
        {status !== "error" && (
          <g id="toaster-paper-2" clipPath="url(#toaster-clip-2)">
            <g
              id="toaster-paper-2-container"
              style={{ transform: "translateY(1000px)" }}
            >
              <path
                fill="#EBEAEA"
                stroke="#000"
                strokeWidth="30"
                d="m2650.6 2612.94-1415.18-515.08-30.45-1744.46c-.34-19.4 14.23-29.7 32.46-22.96L2363.17 746.8l55.29 218.68c5.97 23.63 21.91 46.32 42.19 60.07l164.18 111.3 25.77 1476.1Z"
              />
              <path
                fill="#EBEAEA"
                stroke="#000"
                strokeLinecap="square"
                strokeLinejoin="bevel"
                strokeWidth="30"
                d="m2629.09 1139.7-267.93-398.05 5.28 302.46 262.65 95.59Z"
              />
              <path
                fill="#000"
                d="m1363.84 1986.01-.2-11.62 10.92 3.97-.4-23.24 10.92 3.97-.2-11.62-10.93-3.98-.4-23.24-10.93-3.98-.2-11.62 21.85 7.95.2 11.62 10.93 3.98.4 23.25 10.93 3.97.2 11.63-10.93-3.98.41 23.25-10.92-3.98.2 11.62-21.85-7.95Zm947.83 199.93-1.01-58.11 65.54 23.85.21 11.63 10.92 3.97.81 46.5-21.85-7.96-.81-46.49-32.77-11.93.81 46.5-21.85-7.96Zm-76.46-27.83-.21-11.62-10.92-3.98-.61-34.87 10.93 3.98-.21-11.62 54.62 19.88.21 11.62 10.92 3.97.61 34.87-10.93-3.97.21 11.62-54.62-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87Zm-77.48-85.94-.21-11.63 21.85 7.96.2 11.62-21.84-7.95Zm-20.63 61.78-.21-11.62 21.85 7.95-.61-34.87-10.92-3.97-.2-11.63 32.77 11.93.81 46.49 21.85 7.96.2 11.62-65.54-23.86Zm-65.55-23.85-.81-46.49-21.85-7.96-.2-11.62 21.85 7.95-.41-23.24 21.85 7.95.41 23.24 21.84 7.96.21 11.62-21.85-7.95.81 46.49-21.85-7.95Zm-109.24-39.76-.2-11.63-10.92-3.97-.61-34.87 10.92 3.97-.2-11.62 65.54 23.86.21 11.62-54.62-19.88.6 34.87 54.62 19.88.21 11.62-65.55-23.85Zm-98.31-35.79-1.02-58.11 65.55 23.85.2 11.63 10.92 3.97.82 46.5-21.85-7.96-.81-46.49-32.78-11.93.82 46.5-21.85-7.96Zm-76.47-27.83-.2-11.62-10.93-3.98-.81-46.49 21.85 7.95.81 46.5 32.77 11.92-.81-46.49 21.85 7.95 1.01 58.12-65.54-23.86Zm-98.32-35.78-1.42-81.36 76.47 27.83.21 11.62-54.62-19.88.4 23.25 43.7 15.9.2 11.62-43.7-15.9.61 34.87-21.85-7.95Zm368.06-57.29-.41-23.25 21.85 7.96.41 23.24-21.85-7.95Zm.61 34.87-.41-23.25 21.85 7.96.41 23.24-21.85-7.95Zm-98.12-24.16-.2-11.62-10.92-3.98-.61-34.87 10.92 3.98-.2-11.63 43.7 15.91-.41-23.25 21.85 7.95 1.42 81.37-65.55-23.86Zm10.73-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87Zm-98.12-24.16-.2-11.62-10.92-3.98-.61-34.87 10.92 3.98-.2-11.62 54.62 19.88.2 11.62 10.93 3.98.6 34.87-10.92-3.98.2 11.62-54.62-19.88Zm10.72-7.64 32.78 11.92-.61-34.87-32.77-11.92.6 34.87Zm-109.03-28.14-1.42-81.36 21.85 7.95.4 23.24 43.7 15.91.2 11.62 10.92 3.98.82 46.49-21.85-7.95-.81-46.49-32.78-11.93.82 46.49-21.85-7.95Zm-54.62-19.88-.81-46.49-21.85-7.96-.2-11.62 21.84 7.95-.4-23.24 21.85 7.95.4 23.24 21.85 7.96.2 11.62-21.85-7.95.82 46.49-21.85-7.95Zm-109.24-39.76-.2-11.62-10.93-3.98-.61-34.87 10.93 3.98-.21-11.63 54.62 19.88.21 11.63 10.92 3.97.41 23.25-54.62-19.88.2 11.62 43.7 15.91.2 11.62-54.62-19.88Zm10.31-30.89 32.78 11.92-.21-11.62-32.77-11.93.2 11.63Zm-108.63-4.89-1.01-58.12 65.54 23.86.21 11.62 10.92 3.97.81 46.5-21.85-7.95-.81-46.5-10.92-3.97.81 46.49-21.85-7.95-.81-46.5-10.92-3.97.81 46.49-10.93-3.97Zm740.28 124.38-.2-11.62-10.92-3.98-.41-23.24-10.92-3.98-.21-11.62 10.93 3.98-.41-23.25 10.93 3.97-.21-11.62 21.85 7.95.2 11.63-10.92-3.98.41 23.25-10.93-3.98.2 11.62 10.93 3.98.4 23.25 10.93 3.97.2 11.63-21.85-7.96Zm-207.55-75.54-.2-11.62-10.93-3.98-.61-34.87 10.93 3.98-.21-11.63 54.62 19.88.21 11.63 10.92 3.97.41 23.25-54.62-19.88.2 11.62 43.7 15.91.2 11.62-54.62-19.88Zm10.31-30.89 32.78 11.92-.21-11.62-32.77-11.93.2 11.63Zm-97.7-.92-.21-11.62-10.92-3.98-.61-34.87 10.93 3.98-.21-11.62 65.55 23.85.2 11.63-54.62-19.88.61 34.87 54.62 19.88.2 11.62-65.54-23.86Zm-87.39-31.8-.21-11.63-10.92-3.97-.2-11.63 10.92 3.98-.2-11.62 43.69 15.9-.2-11.62-43.7-15.91-.2-11.62 54.62 19.88.2 11.62 10.93 3.98.81 46.49-65.54-23.85Zm10.72-7.65 32.77 11.93-.2-11.63-32.78-11.93.21 11.63Zm-76.27-16.21-.81-46.49-21.85-7.96-.2-11.62 21.85 7.95-.21-11.62 10.93 3.98-.2-11.63 32.77 11.93.2 11.62-21.85-7.95.21 11.62 21.84 7.96.21 11.62-21.85-7.95.81 46.49-21.85-7.95Zm-88.2-78.3 10.92 3.97.21 11.63-10.93-3.98.61 34.87-21.85-7.95-1.01-58.12 21.85 7.96.2 11.62Zm43.49 4.28.2 11.62-32.77-11.93-.2-11.62 32.77 11.93Zm-151.92 2.45-.2-11.62-10.93-3.98-.6-34.87 10.92 3.98-.2-11.62 54.62 19.88.2 11.62 10.92 3.97.41 23.25-54.62-19.88.2 11.62 43.7 15.91.2 11.62-54.62-19.88Zm10.32-30.89 32.77 11.93-.2-11.63-32.78-11.93.21 11.63Zm-75.86 7.04-.81-46.5-21.85-7.95-.2-11.62 21.84 7.95-.4-23.25 21.85 7.95.4 23.25 21.85 7.95.2 11.63-21.85-7.96.82 46.5-21.85-7.95Zm-120.17-43.74-1.01-58.12 65.54 23.86.21 11.62 10.92 3.98.81 46.49-21.85-7.95-.81-46.49-32.77-11.93.81 46.49-21.85-7.95Zm-55.83-89.62-.21-11.62 21.85 7.95.21 11.62-21.85-7.95Zm-20.63 61.79-.21-11.63 21.85 7.96-.61-34.87-10.92-3.98-.2-11.62 32.77 11.93.81 46.49 21.85 7.95.2 11.62-65.54-23.85Zm-5.1-291.96-.2-11.62 10.92 3.98-.4-23.25 10.92 3.97-.2-11.62-10.93-3.97-.4-23.25-10.93-3.98-.2-11.62 21.85 7.95.2 11.62 10.93 3.98.4 23.25 10.93 3.97.2 11.63-10.93-3.98.41 23.25-10.92-3.98.2 11.62-21.85-7.95Zm1067.19 197.18 10.92 3.97.2 11.63-10.92-3.98.61 34.87-21.85-7.95-1.01-58.12 21.84 7.95.21 11.63Zm43.49 4.28.2 11.62-32.77-11.93-.2-11.62 32.77 11.93Zm-151.92 2.45-.2-11.62-10.93-3.98-.61-34.87 10.93 3.98-.21-11.63 54.62 19.88.21 11.63 10.92 3.97.41 23.25-54.62-19.88.2 11.62 43.7 15.91.2 11.62-54.62-19.88Zm10.31-30.89 32.78 11.92-.21-11.62-32.77-11.93.2 11.63Zm-97.7-.92-.21-11.62-10.92-3.98-1.22-69.74 21.85 7.96.41 23.24 43.69 15.91.21 11.62 10.92 3.98.61 34.87-10.93-3.98.21 11.62-54.62-19.88Zm10.72-7.64 32.77 11.92-.61-34.87-32.77-11.92.61 34.87Zm-109.04-28.14-1.01-58.12 65.54 23.86.2 11.62 10.93 3.98.81 46.49-21.85-7.95-.81-46.49-10.92-3.98.81 46.49-21.85-7.95-.81-46.49-10.93-3.98.82 46.5-10.93-3.98Zm-76.47-27.83-.2-11.63-10.92-3.97-.81-46.5 21.84 7.96.82 46.49 32.77 11.93-.81-46.5 21.84 7.96 1.02 58.11-65.55-23.85Zm-98.31-35.79-1.02-58.11 65.55 23.85.2 11.63 10.92 3.97.82 46.5-21.85-7.96-.81-46.49-32.77-11.93.81 46.5-21.85-7.96Zm-153.75-102.15-.4-23.25 21.84 7.95.41 23.25-21.85-7.95Zm.61 34.87-.4-23.25 21.84 7.95.41 23.25-21.85-7.95Zm-109.04-28.14-.2-11.62 10.93 3.97-.21-11.62 10.93 3.97-.21-11.62 10.93 3.98-.21-11.63-32.77-11.92-.2-11.63 76.47 27.84.2 11.62-10.92-3.98.2 11.63-10.92-3.98.2 11.62-10.93-3.97.21 11.62 32.77 11.93.2 11.62-76.47-27.83Zm-76.46-27.83-.21-11.63-10.92-3.97-.2-11.62 10.92 3.97-.2-11.62 43.69 15.9-.2-11.62-43.69-15.91-.21-11.62 54.62 19.88.21 11.62 10.92 3.98.81 46.49-65.54-23.85Zm10.72-7.65 32.77 11.93-.2-11.62-32.77-11.93.2 11.62Zm-98.11-24.16-.21-11.62-10.92-3.98-1.22-69.74 21.85 7.95.41 23.25 43.69 15.9.2 11.63 10.93 3.97.61 34.87-10.93-3.97.21 11.62-54.62-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87Zm948.24 223.18-.21-11.62 10.93 3.98-.41-23.25 21.85 7.95.4 23.25-10.92-3.98.2 11.62-21.84-7.95Zm-87.4-31.81-.2-11.62 43.7 15.9-.21-11.62-43.69-15.9-.2-11.63-10.93-3.97-.4-23.25 10.92 3.98-.2-11.63 65.54 23.86 1.02 58.12-10.93-3.98.2 11.62-54.62-19.88Zm10.32-30.89 32.77 11.93-.4-23.25-32.78-11.93.41 23.25Zm-108.83-16.51-1.02-58.12 65.55 23.86.2 11.62 10.92 3.98.81 46.49-21.84-7.95-.82-46.5-32.77-11.92.81 46.49-21.84-7.95Zm-55.84-89.62-.2-11.63 21.84 7.96.21 11.62-21.85-7.95Zm-20.63 61.79-.2-11.63 21.84 7.95-.6-34.87-10.93-3.97-.2-11.62 32.77 11.92.81 46.5 21.85 7.95.2 11.62-65.54-23.85Zm-66.36-70.35 10.93 3.97.2 11.63-10.92-3.98.61 34.87-21.85-7.95-1.02-58.12 21.85 7.95.2 11.63Zm43.5 4.28.2 11.62-32.77-11.93-.21-11.62 32.78 11.93Zm-130.08 10.4-.81-46.49-21.85-7.95-.2-11.63 21.85 7.96-.41-23.25 21.85 7.95.41 23.25 21.85 7.95.2 11.62-21.85-7.95.81 46.49-21.85-7.95Zm-120.16-43.73-.2-11.63 54.62 19.88-.21-11.62-43.69-15.9-.2-11.63-10.93-3.97-.2-11.63 10.92 3.98-.2-11.62 54.62 19.88.2 11.62-43.69-15.91.2 11.63 43.7 15.9.2 11.63 10.92 3.97.21 11.62-10.93-3.97.2 11.62-65.54-23.85Zm-153.75-102.16-.4-23.25 21.85 7.95.4 23.25-21.85-7.95Zm.61 34.87-.4-23.25 21.85 7.95.4 23.25-21.85-7.95Zm-77.07-62.7 10.92 3.97.2 11.63-10.92-3.98.61 34.87-21.85-7.95-1.01-58.12 21.84 7.95.21 11.63Zm43.49 4.28.2 11.62-32.77-11.93-.2-11.62 32.77 11.93Zm-151.92 2.45-.2-11.62-10.93-3.98-.2-11.62 10.92 3.97-.2-11.62 43.7 15.9-.21-11.62-43.69-15.9-.21-11.63 54.62 19.88.21 11.63 10.92 3.97.81 46.5-65.54-23.86Zm10.72-7.65 32.77 11.93-.2-11.62-32.77-11.93.2 11.62Zm-98.11-24.16-.21-11.62-10.92-3.98-1.22-69.74 21.85 7.95.41 23.25 43.69 15.9.21 11.63 10.92 3.97.61 34.87-10.93-3.97.21 11.62-54.62-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87ZM2337.53 1180l-.2-11.62-10.92-3.98-.41-23.24-10.92-3.98-.21-11.62 10.93 3.97-.41-23.24 10.93 3.97-.21-11.62 21.85 7.95.2 11.63-10.92-3.98.41 23.25-10.93-3.98.21 11.62 10.92 3.98.41 23.25 10.92 3.97.2 11.63-21.85-7.96Zm-219.29-126.01-.2-11.62 76.47 27.83.2 11.62-76.47-27.83Zm.41 23.25-.2-11.63 76.46 27.84.21 11.62-76.47-27.83Zm-163.45-36.4-.21-11.62-10.92-3.98-.61-34.87 10.93 3.98-.21-11.62 54.62 19.88.2 11.62 10.93 3.98.61 34.87-10.93-3.98.21 11.62-54.62-19.88Zm10.72-7.64 32.77 11.92-.61-34.86-32.77-11.93.61 34.87Zm-98.11-24.16-.21-11.63-10.92-3.97-.61-34.87 10.92 3.97-.2-11.62 54.62 19.88.2 11.62 10.93 3.98.61 34.87-10.93-3.98.2 11.63-54.61-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87Zm-109.04-28.14-1.42-81.36 76.47 27.83.2 11.63-54.62-19.88.41 23.24 43.69 15.9.2 11.63-43.69-15.9.61 34.86-21.85-7.95Zm-163.86-59.64-.2-11.62-10.93-3.98-.6-34.87 10.92 3.98-.2-11.62 54.62 19.88.2 11.62 10.92 3.98.41 23.24-54.62-19.88.2 11.63 43.7 15.9.2 11.62-54.62-19.88Zm10.32-30.9 32.77 11.94-.2-11.63-32.78-11.92.21 11.62Zm-108.43 6.74-1.22-69.74 65.54 23.86.21 11.62 10.92 3.98.41 23.24-10.93-3.97.21 11.62-43.7-15.9.41 23.24-21.85-7.95Zm21.24-26.92 32.77 11.93-.41-23.25-32.77-11.92.41 23.24Zm-97.71-.91-.2-11.62 43.69 15.9-.2-11.62-43.69-15.9-.21-11.63-10.92-3.98-.61-34.87 21.85 7.96.61 34.87 32.77 11.92-.61-34.87 21.85 7.96 1.01 58.11-10.92-3.97.2 11.62-54.62-19.88Zm-65.75-35.48-.81-46.5-21.84-7.94-.21-11.63 21.85 7.95-.41-23.24 21.85 7.95.41 23.25 21.85 7.95.2 11.62-21.85-7.95.81 46.5-21.85-7.96Z"
              />
            </g>
          </g>
        )}

        {status !== "error" && (
          <g id="toaster-paper-1" clipPath="url(#toaster-clip-1)">
            <g
              id="toaster-paper-1-container"
              style={{ transform: "translateY(1000px)" }}
            >
              <path
                fill="#fff"
                stroke="#000"
                strokeWidth="30"
                d="m2569.6 2642.94-1415.18-515.08-30.45-1744.46c-.34-19.4 14.23-29.7 32.46-22.96L2282.17 776.8l55.29 218.68c5.97 23.63 21.91 46.32 42.19 60.07l164.18 111.3 25.77 1476.1Z"
              />
              <path
                fill="#fff"
                stroke="#000"
                strokeLinecap="square"
                strokeLinejoin="bevel"
                strokeWidth="30"
                d="m2548.09 1169.7-267.93-398.05 5.28 302.46 262.65 95.59Z"
              />
              <path
                fill="#000"
                id="toaster-paper-1-content"
                d="m1282.84 2016.01-.2-11.62 10.92 3.97-.4-23.24 10.92 3.97-.2-11.62-10.93-3.98-.4-23.24-10.93-3.98-.2-11.62 21.85 7.95.2 11.62 10.93 3.98.4 23.25 10.93 3.97.2 11.62-10.93-3.97.41 23.24-10.92-3.97.2 11.62-21.85-7.95Zm947.83 199.93-1.01-58.11 65.54 23.85.21 11.63 10.92 3.97.81 46.49-21.85-7.95-.81-46.49-32.77-11.93.81 46.49-21.85-7.95Zm-76.46-27.83-.21-11.62-10.92-3.98-.61-34.87 10.93 3.98-.21-11.63 54.62 19.88.21 11.63 10.92 3.97.61 34.87-10.93-3.97.21 11.62-54.62-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87Zm-77.48-85.94-.21-11.63 21.85 7.95.2 11.63-21.84-7.95Zm-20.63 61.78-.21-11.62 21.85 7.95-.61-34.87-10.92-3.97-.2-11.63 32.77 11.93.81 46.49 21.85 7.96.2 11.62-65.54-23.86Zm-65.55-23.85-.81-46.5-21.85-7.95-.2-11.62 21.85 7.95-.41-23.25 21.85 7.96.41 23.24 21.84 7.95.21 11.63-21.85-7.95.81 46.49-21.85-7.95Zm-109.24-39.76-.2-11.63-10.92-3.97-.61-34.87 10.92 3.97-.2-11.62 65.54 23.86.21 11.62-54.62-19.88.6 34.87 54.62 19.88.21 11.62-65.55-23.85Zm-98.31-35.79-1.02-58.11 65.55 23.85.2 11.63 10.92 3.97.82 46.5-21.85-7.96-.81-46.49-32.78-11.93.82 46.5-21.85-7.96Zm-76.47-27.83-.2-11.62-10.93-3.98-.81-46.49 21.85 7.95.81 46.49 32.77 11.93-.81-46.49 21.85 7.95 1.01 58.12-65.54-23.86Zm-98.31-35.78-1.43-81.36 76.47 27.83.21 11.62-54.62-19.88.4 23.25 43.7 15.9.2 11.62-43.7-15.9.61 34.87-21.84-7.95Zm368.05-57.29-.41-23.25 21.85 7.96.41 23.24-21.85-7.95Zm.61 34.87-.41-23.25 21.85 7.96.41 23.24-21.85-7.95Zm-98.11-24.16-.21-11.62-10.92-3.98-.61-34.87 10.92 3.98-.2-11.63 43.7 15.91-.41-23.25 21.85 7.95 1.42 81.37-65.54-23.86Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87Zm-98.12-24.16-.2-11.62-10.92-3.98-.61-34.87 10.92 3.98-.2-11.62 54.62 19.88.2 11.62 10.93 3.97.6 34.87-10.92-3.97.2 11.62-54.62-19.88Zm10.72-7.65 32.78 11.93-.61-34.87-32.77-11.93.6 34.87Zm-109.03-28.13-1.42-81.36 21.85 7.95.4 23.24 43.7 15.91.2 11.62 10.92 3.98.82 46.49-21.85-7.95-.81-46.5-32.78-11.92.82 46.49-21.85-7.95Zm-54.62-19.88-.81-46.49-21.85-7.96-.2-11.62 21.84 7.95-.4-23.24 21.85 7.95.4 23.24 21.85 7.96.2 11.62-21.84-7.95.81 46.49-21.85-7.95Zm-109.24-39.76-.2-11.63-10.93-3.97-.61-34.87 10.93 3.98-.2-11.63 54.61 19.88.21 11.63 10.92 3.97.41 23.25-54.62-19.88.2 11.62 43.7 15.9.2 11.63-54.62-19.88Zm10.31-30.9 32.78 11.93-.21-11.62-32.77-11.93.2 11.62Zm-108.63-4.89-1.01-58.11 65.54 23.85.21 11.63 10.92 3.97.81 46.5-21.85-7.96-.81-46.49-10.92-3.97.81 46.49-21.85-7.95-.81-46.5-10.92-3.97.81 46.49-10.93-3.98Zm740.28 124.39-.2-11.62-10.92-3.98-.41-23.24-10.92-3.98-.21-11.62 10.93 3.97-.41-23.24 10.93 3.97-.21-11.62 21.85 7.95.2 11.63-10.92-3.98.41 23.25-10.93-3.98.2 11.62 10.93 3.98.4 23.25 10.93 3.97.2 11.63-21.85-7.96Zm-207.55-75.54-.2-11.62-10.93-3.98-.61-34.87 10.93 3.98-.21-11.63 54.62 19.88.21 11.63 10.92 3.97.41 23.25-54.62-19.88.2 11.62 43.7 15.91.2 11.62-54.62-19.88Zm10.31-30.89 32.78 11.92-.21-11.62-32.77-11.93.2 11.63Zm-97.7-.92-.21-11.62-10.92-3.98-.61-34.87 10.93 3.98-.21-11.62 65.55 23.85.2 11.62-54.62-19.88.61 34.87 54.62 19.88.2 11.63-65.54-23.86Zm-87.39-31.81-.21-11.62-10.92-3.98-.2-11.62 10.92 3.98-.2-11.63 43.69 15.91-.2-11.62-43.7-15.91-.2-11.62 54.62 19.88.2 11.62 10.93 3.98.81 46.49-65.54-23.86Zm10.72-7.64 32.77 11.92-.2-11.62-32.78-11.93.21 11.63Zm-76.27-16.21-.81-46.49-21.85-7.96-.2-11.62 21.85 7.95-.21-11.62 10.93 3.97-.2-11.62 32.77 11.93.2 11.62-21.85-7.95.21 11.62 21.84 7.96.21 11.62-21.85-7.95.81 46.49-21.85-7.95Zm-88.2-78.3 10.92 3.97.21 11.63-10.93-3.98.61 34.87-21.85-7.95-1.01-58.12 21.85 7.95.2 11.63Zm43.49 4.28.2 11.62-32.77-11.93-.2-11.62 32.77 11.93Zm-151.92 2.45-.2-11.62-10.93-3.98-.6-34.87 10.92 3.98-.2-11.63 54.62 19.88.2 11.63 10.92 3.97.41 23.25-54.62-19.88.2 11.62 43.7 15.91.2 11.62-54.62-19.88Zm10.32-30.89 32.77 11.92-.2-11.62-32.78-11.93.21 11.63Zm-75.86 7.03-.81-46.49-21.85-7.95-.2-11.62 21.84 7.95-.4-23.25 21.85 7.95.4 23.25 21.85 7.95.2 11.63-21.85-7.96.82 46.5-21.85-7.96Zm-120.17-43.73-1.01-58.12 65.54 23.86.21 11.62 10.92 3.98.81 46.49-21.85-7.95-.81-46.49-32.77-11.93.81 46.49-21.85-7.95Zm-55.83-89.62-.21-11.62 21.85 7.95.21 11.62-21.85-7.95Zm-20.63 61.79-.21-11.63 21.85 7.96-.61-34.87-10.92-3.98-.2-11.62 32.77 11.92.81 46.5 21.85 7.95.2 11.62-65.54-23.85Zm-5.1-291.96-.2-11.62 10.92 3.97-.4-23.24 10.92 3.97-.2-11.62-10.93-3.98-.4-23.24-10.93-3.98-.2-11.62 21.85 7.95.2 11.62 10.93 3.98.4 23.25 10.93 3.97.2 11.63-10.93-3.98.41 23.25-10.92-3.98.2 11.62-21.85-7.95Zm1067.19 197.18 10.92 3.97.2 11.63-10.92-3.98.61 34.87-21.85-7.95-1.01-58.12 21.84 7.95.21 11.63Zm43.49 4.28.2 11.62-32.77-11.93-.2-11.62 32.77 11.93Zm-151.92 2.45-.2-11.62-10.93-3.98-.61-34.87 10.93 3.98-.21-11.63 54.62 19.88.21 11.63 10.92 3.97.41 23.25-54.62-19.88.2 11.62 43.7 15.91.2 11.62-54.62-19.88Zm10.31-30.89 32.78 11.92-.21-11.62-32.77-11.93.2 11.63Zm-97.7-.92-.21-11.62-10.92-3.98-1.22-69.74 21.85 7.96.41 23.24 43.69 15.91.21 11.62 10.92 3.98.61 34.86-10.93-3.97.21 11.62-54.62-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.92.61 34.86Zm-109.04-28.13-1.01-58.12 65.54 23.86.2 11.62 10.93 3.98.81 46.49-21.85-7.95-.81-46.49-10.92-3.98.81 46.49-21.85-7.95-.81-46.49-10.93-3.98.82 46.49-10.93-3.97Zm-76.47-27.83-.2-11.63-10.92-3.97-.81-46.5 21.84 7.96.82 46.49 32.77 11.93-.81-46.5 21.84 7.96 1.02 58.11-65.55-23.85Zm-98.31-35.79-1.02-58.11 65.55 23.85.2 11.63 10.92 3.97.82 46.49-21.85-7.95-.81-46.49-32.77-11.93.81 46.49-21.85-7.95Zm-153.75-102.15-.4-23.25 21.84 7.95.41 23.25-21.85-7.95Zm.61 34.87-.4-23.25 21.84 7.95.41 23.25-21.85-7.95Zm-109.04-28.14-.2-11.62 10.93 3.97-.21-11.62 10.93 3.97-.21-11.62 10.93 3.98-.21-11.63-32.77-11.92-.2-11.63 76.47 27.83.2 11.63-10.92-3.98.2 11.63-10.92-3.98.2 11.62-10.93-3.97.21 11.62 32.77 11.93.2 11.62-76.47-27.83Zm-76.46-27.83-.21-11.63-10.92-3.97-.2-11.63 10.92 3.98-.2-11.62 43.69 15.9-.2-11.62-43.69-15.91-.21-11.62 54.62 19.88.21 11.62 10.92 3.98.81 46.49-65.54-23.85Zm10.72-7.65 32.77 11.93-.2-11.63-32.77-11.92.2 11.62Zm-98.11-24.16-.21-11.62-10.92-3.98-1.22-69.74 21.85 7.95.41 23.25 43.69 15.9.2 11.63 10.93 3.97.61 34.87-10.93-3.97.21 11.62-54.62-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87Zm948.24 223.18-.21-11.62 10.93 3.97-.41-23.24 21.85 7.95.41 23.25-10.93-3.98.2 11.62-21.84-7.95Zm-87.4-31.81-.2-11.62 43.7 15.9-.21-11.62-43.69-15.9-.2-11.63-10.93-3.97-.4-23.25 10.92 3.98-.2-11.63 65.54 23.86 1.02 58.12-10.93-3.98.2 11.62-54.62-19.88Zm10.32-30.89 32.77 11.93-.4-23.25-32.78-11.93.41 23.25Zm-108.83-16.51-1.02-58.12 65.55 23.86.2 11.62 10.92 3.98.81 46.49-21.84-7.95-.82-46.5-32.77-11.92.81 46.49-21.84-7.95Zm-55.84-89.62-.2-11.63 21.84 7.96.21 11.62-21.85-7.95Zm-20.63 61.78-.2-11.62 21.84 7.95-.6-34.87-10.93-3.97-.2-11.63 32.77 11.93.81 46.5 21.85 7.95.2 11.62-65.54-23.86Zm-66.36-70.34 10.93 3.97.2 11.62-10.92-3.97.61 34.87-21.85-7.95-1.02-58.12 21.85 7.95.2 11.63Zm43.5 4.28.2 11.62-32.77-11.93-.2-11.62 32.77 11.93Zm-130.08 10.4-.81-46.49-21.85-7.95-.2-11.63 21.85 7.95-.41-23.24 21.85 7.95.41 23.25 21.85 7.95.2 11.62-21.85-7.95.81 46.49-21.85-7.95Zm-120.16-43.74-.2-11.62 54.62 19.88-.21-11.62-43.69-15.91-.2-11.62-10.93-3.97-.2-11.63 10.92 3.98-.2-11.63 54.62 19.88.2 11.63-43.69-15.91.2 11.63 43.7 15.9.2 11.62 10.92 3.98.21 11.62-10.93-3.97.2 11.62-65.54-23.86Zm-153.75-102.15-.4-23.25 21.85 7.95.4 23.25-21.85-7.95Zm.61 34.87-.4-23.25 21.85 7.95.4 23.25-21.85-7.95Zm-77.07-62.7 10.92 3.97.2 11.63-10.92-3.98.61 34.87-21.85-7.95-1.01-58.12 21.84 7.95.21 11.63Zm43.49 4.28.2 11.62-32.77-11.93-.2-11.62 32.77 11.93Zm-151.92 2.45-.2-11.62-10.93-3.98-.2-11.62 10.92 3.97-.2-11.62 43.7 15.9-.21-11.62-43.69-15.9-.21-11.63 54.62 19.88.21 11.63 10.92 3.97.81 46.5-65.54-23.86Zm10.72-7.65 32.77 11.93-.2-11.62-32.77-11.93.2 11.62Zm-98.11-24.16-.21-11.62-10.92-3.98-1.22-69.74 21.85 7.95.41 23.25 43.69 15.91.21 11.62 10.92 3.97.61 34.87-10.93-3.97.21 11.62-54.62-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87ZM2256.53 1210l-.2-11.62-10.92-3.98-.41-23.24-10.92-3.98-.21-11.62 10.93 3.97-.41-23.24 10.93 3.97-.21-11.62 21.85 7.95.2 11.63-10.92-3.98.41 23.25-10.93-3.98.21 11.62 10.92 3.98.41 23.25 10.92 3.97.2 11.62-21.85-7.95Zm-219.29-126.01-.2-11.62 76.47 27.83.2 11.62-76.47-27.83Zm.41 23.25-.2-11.63 76.46 27.84.21 11.62-76.47-27.83Zm-163.45-36.4-.21-11.62-10.92-3.98-.61-34.87 10.93 3.98-.21-11.62 54.62 19.88.2 11.62 10.93 3.98.61 34.87-10.93-3.98.21 11.62-54.62-19.88Zm10.72-7.64 32.77 11.92-.61-34.87-32.77-11.92.61 34.87Zm-98.11-24.16-.21-11.63-10.92-3.97-.61-34.87 10.92 3.97-.2-11.62 54.62 19.88.2 11.62 10.93 3.98.61 34.87-10.93-3.98.21 11.63-54.62-19.88Zm10.72-7.65 32.77 11.93-.61-34.87-32.77-11.93.61 34.87Zm-109.04-28.14-1.42-81.36 76.47 27.83.2 11.62-54.62-19.88.41 23.25 43.69 15.9.2 11.63-43.69-15.9.61 34.86-21.85-7.95Zm-163.86-59.64-.2-11.62-10.93-3.98-.6-34.87 10.92 3.98-.2-11.63 54.62 19.88.2 11.63 10.92 3.98.41 23.24-54.62-19.88.2 11.62 43.7 15.9.2 11.63-54.62-19.88Zm10.32-30.9 32.77 11.94-.2-11.63-32.78-11.92.21 11.62Zm-108.43 6.74-1.22-69.74 65.54 23.86.21 11.62 10.92 3.98.41 23.24-10.93-3.97.21 11.62-43.7-15.9.41 23.24-21.85-7.95Zm21.24-26.92 32.77 11.93-.41-23.25-32.77-11.92.41 23.24Zm-97.71-.91-.2-11.62 43.69 15.9-.2-11.62-43.69-15.9-.21-11.63-10.92-3.98-.61-34.87 21.85 7.96.61 34.87 32.77 11.92-.61-34.87 21.85 7.96 1.01 58.11-10.92-3.97.2 11.62-54.62-19.88Zm-65.75-35.48-.81-46.5-21.84-7.94-.21-11.63 21.85 7.95-.41-23.24 21.85 7.95.41 23.25 21.85 7.95.2 11.62-21.85-7.95.81 46.5-21.85-7.96Z"
              />
            </g>
          </g>
        )}
        {status === "error" && (
          <g>
            <path
              id="toaster-eyes"
              stroke="#000"
              strokeLinecap="round"
              strokeLinejoin="round"
              strokeWidth="58"
              d="m583 2983 186 155.56L583 3231m789.55 145.37-174.7-168.16 192-79.24"
            />
            <path
              id="toaster-mouth"
              fill="#000"
              d="M721 3594c0-40.32 31.25-63.44 69.81-51.66l294.04 89.9c38.56 11.79 69.81 54.03 69.81 94.34v150c0 10.5-8.13 16.52-18.17 13.45l-397.32-121.47c-10.03-3.07-18.17-14.07-18.17-24.56v-150Z"
            />
            <path
              id="toaster-lips"
              fill="#fff"
              d="M841.92 3715.88c0-7.74 6-12.17 13.39-9.91l154.61 47.27c7.39 2.26 13.39 10.36 13.39 18.09v21.23c0 15.46-11.99 24.33-26.78 19.81l-127.84-39.08c-14.78-4.52-26.77-20.72-26.77-36.19v-21.22Zm4.18-84.97c0-15.46 11.98-24.33 26.77-19.81l127.83 39.08c14.79 4.52 26.78 20.72 26.78 36.19v24.22c0 6.08-4.71 9.56-10.52 7.79l-160.35-49.03c-5.8-1.77-10.52-8.14-10.52-14.21v-24.23Z"
            />
          </g>
        )}
        <defs>
          <pattern
            id="a"
            width="1.11"
            height=".94"
            patternContentUnits="objectBoundingBox"
          >
            <use xlinkHref="#e" transform="scale(0.00138547 0.00117766)" />
          </pattern>
          <image
            xlinkHref=""
            id="e"
            width="800"
            height="800"
          />
          <clipPath id="toaster-clip-3">
            <path d="m1520.5 1892-45-1201.5L3353 1260l104 1180.5-235 76L1520.5 1892Z" />
          </clipPath>

          <clipPath id="toaster-clip-2">
            <path d="M1123.5 2057.5 1023 182.77 2914 100l-115.5 2450.4-142.5 80.1-1532.5-573Z" />
          </clipPath>

          <clipPath id="toaster-clip-1">
            <path d="m1114 2075.92-91-1893.15L2914 100l-115.5 2450.4L2588 2659l-1474-583.08Z" />
          </clipPath>
        </defs>
      </svg>
    </div>
  );
};

export default Toaster;
